package activiti;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.io.Serializable;

@Component("helloWorld")
public class MyBean implements JavaDelegate, Serializable {

    @Override
    public void execute(DelegateExecution execution) {
        System.out.println("自定义java类");

    }
}
